#! bin/bash

java -jar /Users/nali/dev/tools/shardsql.jar --mode=nodelookup --nodenum=128 --template=nyx.sql --trace ALL

echo "rm -rf file dist.sql"
rm -rf dist.sql

for f in *].sql; do
  echo "cat File -> $f to dist.sql"
  cat $f >> dist.sql
  echo "" >> dist.sql
  echo "rm -rf File -> $f"
  rm -rf $f
done
